import request from '../req'
import type {PageReqDto} from "@/api/type";
import {queryAdvertiseListDataDto} from "@/api/querySmsTradeRecord/type";

// 查询短信交易记录
export const queryAdvertiseList = async (params: {
    searchText: string
} & PageReqDto): Promise<queryAdvertiseListDataDto> => {
    return await request.get('/saas/custom/trade/record/querySmsTradeRecord', {
        params: params
    })
}
